package com.hospital.domain.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("ward")
public class Ward {
    @TableId(value = "wId", type = IdType.AUTO)
    private Integer wId;
    private String wNumber;
    private String wType;
    private String wFloor;
    private Integer wTotalBeds;
    private Integer wAvailableBeds;
    private BigDecimal wPrice;
    private Integer depId;
    private Integer wState;
    private LocalDateTime wCreateTime;
}
